package util.listComparator;

import java.util.Comparator;

import entity.HomeZhuYe;

/**
 * Created by liuxiaobin on 2016/10/13
 */
public class HomeZhuYeButonnImage implements Comparator<HomeZhuYe.AdModelsBean>{
    @Override
    public int compare(HomeZhuYe.AdModelsBean lhs, HomeZhuYe.AdModelsBean rhs) {
        if(lhs.getOrder()<rhs.getOrder()){
            return -1;
        }else {
            return 1;
        }
    }
}
